﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

namespace VehicleScale
{
    public class Validation
    {
        public static bool IsNumeric(string value)
        {
            Regex regEx = new Regex(@"^[0-9]$");
            return regEx.IsMatch(value);
        }
    }
}
